import Layout from '@/layout/index'

export default function pushPlat(rs) {
  if (!rs) {
    rs = []
  }
  rs.push({
    path: '/',
    component: Layout,
    name: '票务管理',
    redirect: '/tictManager/tictReport',
    meta: {
      title: '平台管理',
      icon: 'nested'
    },
    children: [
     { name: "paraMan",
         path: "/paraMan",
          meta: {
          title: "平台 > 参数管理",
         breadcrumb: []
  },
    component: () => import( '@/views/plat/parameter/paraMan.vue' )
  },{
    name: "roleMan",
    path: "/roleMan",
    meta: {
      title: "平台 > 角色管理",
      breadcrumb: []
    },
    component: () => import( '@/views/plat/role/roleMan.vue' )
  },{
    name: "resMan",
      path: "/resMan",
      meta: {
      title: "平台 > 资源管理",
        breadcrumb: []
    },
    component: () => import( '@/views/plat/resources/resMan.vue' )
  },{
    name: "paraMan",
      path: "/paraMan",
      meta: {
      title: "平台 > 参数管理",
        breadcrumb: []
    },
    component: () => import( '@/views/plat/parameter/paraMan.vue' )
  },{
    name: "menuMan",
      path: "/menuMan",
      meta: {
      title: "平台 > 菜单管理",
        breadcrumb: []
    },
    component: () => import( '@/views/plat/menu/menuMan.vue' )
  },{
    name: "instMan",
      path: "/instMan",
      meta: {
      title: "维护 > 机构管理",
        breadcrumb: []
    },
    component: () => import( '@/views/plat/inst/instMan.vue' )
  },{
    name: "secgMan",
      path: "/secgMan",
      meta: {
      title: "平台 > 数据组管理",
        breadcrumb: []
    },
    component: () => import( '@/views/plat/secg/secgMan.vue' )
  },{
    name: "userMan",
      path: "/userMan",
      meta: {
      title: "平台 > 用户管理",
        breadcrumb: []
    },
    component: () => import( '@/views/plat/user/userMan.vue' )
  }

    ]
  })
  return rs
}
